<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div class="bjui-pageHeader">
	<form data-toggle="ajaxsearch" action="${ctx}/sys/query${actionclass}.do" id="pagefrom_${actionclass}">
		<div style="margin: 0; padding: 1px 5px 5px;">
			<!--             <button type="button" class="btn-blue" data-toggle="dialog" data-options="{url:'../../html/datagrid/datagrid-search-source.html', id:'dialog-datagrid-search', width:1000, height:600, title:'查看Datagrid示例- 页头搜索、自定义编辑 - 源码'}">点击查看示例源码</button> -->
			<button type="button" class="btn-red" data-url="${ctx}/sys/shan.do?rel=yiFa" data-toggle="doajaxchecked"
				data-confirm-msg="确定要删除选中项吗？" data-idname="ids" data-group="ids" data-icon="remove" title="">批量删除</button>
			&nbsp;
		</div>
	</form>
</div>
<div class="bjui-pageContent tableContent">
	<table class="table table-bordered table-hover" data-toggle="tablefixed" data-width="100%" data-nowrap="true">
		<thead>
			<tr>
				<th width="2%">
					<input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck">
				</th>
				<th width="100">收件人</th>
				<th width="400">主题</th>
				<th width="100">时间</th>

			</tr>
		</thead>
		<tbody>
			<c:forEach items="${list}" var="item">
				<tr data-id="${item.xmlNameString }">
					<td>
						<input type="checkbox" name="ids" data-toggle="icheck" value="${item.xmlNameString }">
					</td>
					<td>${item.receiverString}</td>
					<td>
						<a href="${ctx}/sys/duYiFa.do?uuid=${item.xmlNameString}" data-toggle="navtab" data-options="{reloadWarn:''}"
							data-id="youjianYifa" data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="邮件内容">${item.subject}</a>
					</td>
					<td>
						<fmt:formatDate value="${item.receiveDate}" pattern="yyyy-MM-dd HH:mm:ss" />
					</td>

				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<div class="bjui-pageFooter">
	<div data-toggle="pagination"
		data-options="{total:${SESSION_PAGE.totalNumber}, pageCurrent:${SESSION_PAGE.currentPageNumber}, form:'#pagefrom_${actionclass}'}">
	</div>
</div>
